import Vue from 'vue'
import App from './App'
import store from './store'

new Vue({
    el:'#app',
    components:{App},
    template:'<App/>',
    store   //所有组件对象都多了一个对象 $store
});